/*
 * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: Apache-2.0 OR MIT
 */

#pragma once

#define PMU_ICG_APB_ENA_PWM0                    0
#define PMU_ICG_APB_ENA_PWM1                    1
#define PMU_ICG_APB_ENA_PWM2                    2
#define PMU_ICG_APB_ENA_PWM3                    3
#define PMU_ICG_APB_ENA_I2C0                    4
#define PMU_ICG_APB_ENA_I2C1                    5
#define PMU_ICG_APB_ENA_I2S0                    6
#define PMU_ICG_APB_ENA_I2S1                    7
#define PMU_ICG_APB_ENA_PCNT0                   8
#define PMU_ICG_APB_ENA_PCNT1                   9
#define PMU_ICG_APB_ENA_UART0                   10
#define PMU_ICG_APB_ENA_UART1                   11
#define PMU_ICG_APB_ENA_UART2                   12
#define PMU_ICG_APB_ENA_UART3                   13
#define PMU_ICG_APB_ENA_PARL                    13
#define PMU_ICG_APB_ENA_SPI2                    14
#define PMU_ICG_APB_ENA_SPI3                    15
#define PMU_ICG_APB_ENA_USB_DEVICE              16
#define PMU_ICG_APB_ENA_LEDC0                   17
#define PMU_ICG_APB_ENA_LEDC1                   18
#define PMU_ICG_APB_ENA_TWAI0                   19
#define PMU_ICG_APB_ENA_TWAI1                   20
#define PMU_ICG_APB_ENA_LCDCAM                  21
#define PMU_ICG_APB_ENA_ANA_I2C                 22
#define PMU_ICG_APB_ENA_UHCI                    23
#define PMU_ICG_APB_ENA_SYSTIMER                24
#define PMU_ICG_APB_ENA_ZERO_DET                25
#define PMU_ICG_APB_ENA_CODIC                   26
#define PMU_ICG_APB_ENA_USB_OTGHS_PHY           27
#define PMU_ICG_APB_ENA_ETM                     28
#define PMU_ICG_APB_ENA_TG0                     29
#define PMU_ICG_APB_ENA_TG1                     30
#define PMU_ICG_APB_ENA_IOMUX                   31
#define PMU_ICG_APB_ENA_MSPI_PAD_CNTR           32
#define PMU_ICG_APB_ENA_INTMTX                  33
#define PMU_ICG_APB_ENA_CNNT_PAD_CNTR           34
#define PMU_ICG_APB_ENA_CLKRST                  35
#define PMU_ICG_APB_ENA_HP_SYS_REG              36
#define PMU_ICG_FUNC_ENA_USB_OTG_HS             0
#define PMU_ICG_FUNC_ENA_SDMMC                  1
#define PMU_ICG_FUNC_ENA_AHB_GDMA               2
#define PMU_ICG_FUNC_ENA_JPEG                   3
#define PMU_ICG_FUNC_ENA_PPA                    4
#define PMU_ICG_FUNC_ENA_VPU                    5
#define PMU_ICG_FUNC_ENA_2DDMA                  6
#define PMU_ICG_FUNC_ENA_AXI_GDMA               7
#define PMU_ICG_FUNC_ENA_GMAC                   8
#define PMU_ICG_FUNC_ENA_PVT_MONITOR            9
#define PMU_ICG_FUNC_ENA_RMT                    10
#define PMU_ICG_FUNC_ENA_BS                     11
#define PMU_ICG_FUNC_ENA_ASRC                   12
#define PMU_ICG_FUNC_ENA_MSPI_FLASH             13
#define PMU_ICG_FUNC_ENA_MSPI_PSRAM             14
#define PMU_ICG_FUNC_ENA_SEC                    15
#define PMU_ICG_FUNC_ENA_PWM0                   16
#define PMU_ICG_FUNC_ENA_PWM1                   17
#define PMU_ICG_FUNC_ENA_PWM2                   18
#define PMU_ICG_FUNC_ENA_PWM3                   19
#define PMU_ICG_FUNC_ENA_I2C0                   20
#define PMU_ICG_FUNC_ENA_I2C1                   21
#define PMU_ICG_FUNC_ENA_I2S0                   22
#define PMU_ICG_FUNC_ENA_I2S1                   23
#define PMU_ICG_FUNC_ENA_UART0                  24
#define PMU_ICG_FUNC_ENA_UART1                  25
#define PMU_ICG_FUNC_ENA_UART2                  26
#define PMU_ICG_FUNC_ENA_UART3                  27
#define PMU_ICG_FUNC_ENA_PARL                   28
#define PMU_ICG_FUNC_ENA_SPI2                   29
#define PMU_ICG_FUNC_ENA_SPI3                   30
#define PMU_ICG_FUNC_ENA_LEDC0                  31
#define PMU_ICG_FUNC_ENA_LEDC1                  32
#define PMU_ICG_FUNC_ENA_TWAI0                  33
#define PMU_ICG_FUNC_ENA_TWAI1                  34
#define PMU_ICG_FUNC_ENA_LCDCAM                 35
#define PMU_ICG_FUNC_ENA_UHCI                   36
#define PMU_ICG_FUNC_ENA_SYSTIMER               37
#define PMU_ICG_FUNC_ENA_ZERO_DET               38
#define PMU_ICG_FUNC_ENA_CODIC                  39
#define PMU_ICG_FUNC_ENA_ETM                    40
#define PMU_ICG_FUNC_ENA_TG0                    41
#define PMU_ICG_FUNC_ENA_TG1                    42
#define PMU_ICG_FUNC_ENA_IOMUX                  43
#define PMU_ICG_FUNC_ENA_HPCORE0                44
#define PMU_ICG_FUNC_ENA_HPCORE1                45
#define PMU_ICG_FUNC_ENA_DEBUG                  46
#define PMU_ICG_FUNC_ENA_BUS                    47
#define PMU_ICG_FUNC_ENA_ROM                    48
#define PMU_ICG_FUNC_ENA_CACHE                  49
#define PMU_ICG_FUNC_ENA_TRACE                  50
#define PMU_ICG_FUNC_ENA_BUS_MON0               51
#define PMU_ICG_FUNC_ENA_BUS_MON1               52
#define PMU_ICG_FUNC_ENA_PSRAM_MON              53
#define PMU_ICG_FUNC_ENA_TCM_MON                54
#define PMU_ICG_FUNC_ENA_REGDMA                 55
